#ifndef MTSTRINGH
#define MTSTRINGH

class MyString
{
public:
	//Basic Functions
	int length();
	void clear();
	bool isEmpty();
	
	//Constructors and destructor
	MyString();
	MyString(const wchar_t* str);
	MyString(const char* str);
	MyString(int num);
	MyString(double num, int accuracy = 2);
	~MyString();
	//Copy constructor
	MyString(const MyString& str);
	//Overload operators
	//Overload operator =
	MyString& operator=(const MyString& str);
	//Overload operator +
	MyString operator+(const MyString& str);
	//Overload operator +=
	MyString& operator+=(const MyString& str);
	//Overload operator []
	wchar_t& operator[](int index);
	//Overload operator ==
	bool operator==(const MyString& str);

private:
	wchar_t* mString;
	int mLength;
};

#endif // !MTSTRINGH